import sys, os
from django.core.wsgi import get_wsgi_application

base_dir = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.append(base_dir)
os.environ['DJANGO_SETTINGS_MODULE'] = 'django3.settings'
application = get_wsgi_application()





from rest_framework import serializers
from user_movies_operations.models import UserMovieShortComments

data = UserMovieShortComments.objects.all()

for i in data:
    i.delete()